package behavior.observe;

/**
 * Created by lie on 2017/11/2.
 */
public class WxUser  implements Observer {

    private String userName;

    public WxUser(String userName) {
        this.userName = userName;
    }

    @Override
    public void update(String msg) {
        System.out.println("用户名 = " +userName + "收到更新消息： " + msg);
    }
}
